package com.itheima.health.service;

import com.itheima.health.pojo.Menu;
import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Menu;
import com.itheima.health.pojo.Permission;

import java.util.List;
import java.util.List;

/**
 * @author ：janev
 * @date ：Created in 2020/1/3
 * @description ：
 * @version: 1.0
 */
public interface MenuService {
    List<Menu> findByName(String username);

    Menu findMenuByName(String username);

    List<Menu> findAll();

    PageResult pageQuery(QueryPageBean queryPageBean);

    void add(Menu Menu);

    void edit(Menu Menu);

    Menu findById(Integer id);

    void delete(Integer id);
}
